using AnyCAD.Foundation;
using AnyCAD.NX.Plugin;
using AnyCAD.NX.ViewModel;

namespace Rapid.Sketch.Plugin
{
    public class SketchPlugin : IPlugin
    {
        #region IPlugin Members 
        public string Description { get; set; } = "Sketch Plugin";
        public bool Startup()
        {
            var riibonBar = MainViewModel.Instance.GetRibbonBar();

            var item = new View.SketchRibbonTab();
            riibonBar?.Tabs.Insert(1, item);

            return true;
        }

        public void Destroy()
        {

        }
        #endregion
    }
}
